<template>
  <!--datav边框-->
  <componentBox :id="id" :ref="id" :option="config.location">
      <div
        :is="option.borderComponentName"
        v-bind="option"
      ></div>
  </componentBox>
</template>

<script>
  export default {
    name: "screen_chart_border",
    components: {
      'componentBox': () => import('@/components/screen/componentBox.vue'),
    },
    props: {
      id: String,
      config: Object,
    },
    data() {
      return {
        option: {},
      }
    },
    created() {
      this.option = this.config.option;
    }
  }
</script>

<style scoped>
</style>
